import request from '@/utils/request'

export function http_dashboard_home(page) {
  return request({
    url: '/home',
    method: 'get',
    params: {...page}
  })
}

// 修改项目状态为已完成
export function http_status_finish(data) {
  return request({
    url: '/project/finishProject',
    method: 'post',
    data
  })
}

//project/getAllProList
export function http_manpowerUtilization(page) {
  return request({
    url: '/home/getManpowerUtilization',
    method: 'get',
    params: {...page}
  })
}


export function http_assignment_updateReadType(proId) {
  return request({
    url: '/assignment/updateReadType',
    method: 'post',
    data: {proId}
  })
}
